package org.worthydots.access.jpa.dao;

import java.util.List;

import org.worthydots.access.jpa.entity.Train;

public interface TrainDAO {

	public void saveTrain(Train train);
	
	public void saveTrainIfNotPresent(Train train);

	public Train getTrainByTrainNumber(String trainNumber);

	public List<Train> getAllTrains();

}
